package org.jash.wechat2205.utils;

import android.graphics.Bitmap;

import org.jash.wechat2205.entity.Res;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Url;

public interface ApiService {
    @GET("/api/sms/sendrcode")
    Observable<Res> sendRCode(@Query("phone") String phone);
    @GET
    Call<Bitmap> getImage(@Url String url);
}
